package com.cc.mapper;

import com.cc.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author yuton
* @description 针对表【book】的数据库操作Mapper
* @createDate 2025-09-01 14:49:29
* @Entity com.cc.entity.Book
*/

public interface BookMapper {
    //获取书籍列表
    public List<Book> getBookList(@Param("bookName") String bookName, @Param("author") String author);
    //获取书籍列表总条数
    public Integer getBookListTotalCount(@Param("bookName") String bookName, @Param("author") String author);
    //获取书籍列表分页
    public List<Book> getBookListPage(@Param("bookName") String bookName,
                                      @Param("author") String author,
                                      @Param("pageNum") Integer pageNum,
                                      @Param("pageSize") Integer pageSize);


}

